feat: improve export defaults, discoverability, and resume error handling#3
Merged
feat: improve export defaults, discoverability, and resume error handling#3
Conversation
Default export no longer truncates conversation text. Tool results are truncated independently (--max-tool-chars, default 2000) while conversation text stays full. --full now acts as "show everything" (no truncation + include tool results). Contextual hints on stderr guide users to relevant flags when content is skipped or truncated. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When resuming a session whose project directory no longer exists (e.g. renamed or deleted), create the directory automatically instead of erroring out. This lets users resume sessions to review history even when the original project path is gone. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--max-charsnow defaults to 0 instead of 500, so full assistant responses are shown--max-tool-charsflag (default 2000) truncates tool blocks independently while conversation text stays full--fullmeans "show everything" — disables all truncation and includes tool results (previously only controlled truncation)--shortflag for compact output (truncates to 500 chars)hint: 6 tool block(s) skipped (use --include-tool-results or --full to include))CCT_NO_HINTSenv var to suppress hints[+N chars]instead of just...os.Staterrors other than "not exist" (e.g., permission denied) now return a clear error instead of silently proceedingTest plan
--shorttruncates with[+N chars]indicator--fullincludes tool results and disables all truncation--include-tool-resultswith--max-tool-charstruncates tool blocks independentlyCCT_NO_HINTS=1suppresses hintsjust ci)🤖 Generated with Claude Code